package com.usian.article.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.usian.model.article.dtos.ArticleInfoDto;
import com.usian.model.article.pojos.ApCollection;
import com.usian.model.behavior.dtos.CollectionBehaviorDto;
import com.usian.model.common.dtos.ResponseResult;

/**
 * ClassName: ApCollectionService
 * Author:   WGG
 * Date:    2022-12-2022/12/1-20:37
 * Version: 1.0
 * Description:
 */
public interface ApCollectionService extends IService<ApCollection> {

    /**
     * 收藏行为
     * @param dto
     * @return
     */
    ResponseResult collectionBehavior(CollectionBehaviorDto dto);


    /**
     * 收藏行为查询
     * @param dto
     * @return
     */
    ApCollection showCollectionBehavior(ArticleInfoDto dto);
}
